
export const getTableColumns = ({ params }) => [
	{
		title: "日志编号",
		dataIndex: "id",
		width: 140,
		ellipsis: true
	},
	{
		title: "系统模块",
		dataIndex: "accessResource",
		width: 140,
		ellipsis: true
	},
	{
		title: "操作类型",
		dataIndex: "operationType",
		width: 140,
		ellipsis: true
	},
	{
		title: "操作人员",
		dataIndex: "username",
		width: 140,
		ellipsis: true
	},
	{
		title: "所属组织",
		dataIndex: "orgName",
		width: 100,
		ellipsis: true
	},
	{
		title: "操作地址",
		dataIndex: "operationIp",
		width: 100,
		ellipsis: true
	},
	{
		title: "操作时间",
		dataIndex: "createTime",
		width: 100,
		ellipsis: true,
	},
];

export const USER_STATUS = [
	{ label: '在线', value: 1 },
	{ label: '离线', value: 2 }
]

export const getSearchColumns = () => [
	{
		type: "input",
		placeholder: "系统模块",
		name: "accessResource"
	},
	{
		type: "select",
		placeholder: "操作类型",
		name: "operationType"
	},
	{
		type: "input",
		placeholder: "操作人员",
		name: "username"
	},
	{
		type: "select",
		placeholder: "所属组织",
		name: "createOrgId",
	},
	{
		type: "select",
		placeholder: "操作状态",
		name: "status",
	},
]